cmake_minimum_required(VERSION 3.0.0)
project(test1 VERSION 0.1.0)

include(CTest)
enable_testing()

add_compile_options(-std=c++17)
add_executable(pipeline_anonymity
    ./src/pipeline_anonymity.cpp
)
# add_executable(sem_process_read
#     ./src/sem_process_read.cpp
# )
# add_executable(sem_process_write
#     ./src/sem_process_write.cpp
# )

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)

find_package(Threads REQUIRED)
target_link_libraries(pipeline_anonymity Threads::Threads)
# target_link_libraries(sem_process_read Threads::Threads)
# target_link_libraries(sem_process_write Threads::Threads)